#pragma once
#include "SymbolInfo.h"
#include "AccountInfo.h"
#include "OptionStrikes.h"
#include <string>
using namespace std;


class CDataManager
{
public:
	CDataManager();
	~CDataManager();

	vectorSymbolInfo SymbolList;
	vectorAccount    AccountList;
	vectorOptionMonth m_OptionMonths;
	mapSymbolInfo SymbolMap;
	mapAccount    AccountMap;
	dequeTickInfo  dqTickInfo;
	CSymbolInfo* AddSymbolInfo(wstring a_SymBolCode);
	CSymbolInfo* FindSymbolInfo(wstring a_SymBolCode);
	CAccountInfo* AddAccountInfo(wstring a_AccName, wstring a_HipendCode);
	CAccountInfo* FindAccountInfo(wstring a_AccName);
	CAccountInfo* FindAccountByHipenedCode(wstring a_AccCode);
	void AddTickInfo(CSymbolInfo* a_SymInfo);
};

